package com.koalac.ironman.net.pojo.response;

import org.json.JSONObject;

public class OrderDetail extends BaseResponse{
    
    private String id;
    

    private String user_name;
    private String product_id;
    
    private String product_name;
    private String product_flag;
    private String number;
    
    private String start_date;
    private String school;
    private String className;
    
    private String contact_name;
    private String contact_phone;
    private String email;
    
    private String remark;
    private String booking_time;
    private String per_price;
    
    private String front_money;
    private String pay_way;
    private String pay_time;
    
    private String flag;
   private String book_id;
   
   public String getBook_id() {
    return book_id;
}

public void setBook_id(String book_id) {
    this.book_id = book_id;
}

@Override
public void init(JSONObject source) {
       if (source != null) {
	   id = source.optString("id");
	   user_name = source.optString("user_name");
	   product_id = source.optString("product_id");
	   
	   product_name = source.optString("product_name");
	   product_flag = source.optString("product_flag");
	   number = source.optString("number");
	   
	   start_date = source.optString("start_date");
	   school = source.optString("school");
	   className = source.optString("class");
	   
	   contact_name = source.optString("contact_name");
	   contact_phone = source.optString("contact_phone");
	   email = source.optString("email");
	   
	   remark = source.optString("remark");
	   booking_time = source.optString("booking_time");
	   per_price = source.optString("per_price");
	   
	   front_money = source.optString("front_money");
	   pay_way = source.optString("pay_way");
	   pay_time = source.optString("pay_time");
	   
	   flag = source.optString("flag");
	   book_id = source.optString("book_id");
    }
}
   
   public String getId() {
       return id;
   }

   public void setId(String id) {
       this.id = id;
   }

   public String getUser_name() {
       return user_name;
   }

   public void setUser_name(String user_name) {
       this.user_name = user_name;
   }

   public String getProduct_id() {
       return product_id;
   }

   public void setProduct_id(String product_id) {
       this.product_id = product_id;
   }

   public String getProduct_name() {
       return product_name;
   }

   public void setProduct_name(String product_name) {
       this.product_name = product_name;
   }

   public String getProduct_flag() {
       return product_flag;
   }

   public void setProduct_flag(String product_flag) {
       this.product_flag = product_flag;
   }

   public String getNumber() {
       return number;
   }

   public void setNumber(String number) {
       this.number = number;
   }

   public String getStart_date() {
       return start_date;
   }

   public void setStart_date(String start_date) {
       this.start_date = start_date;
   }

   public String getSchool() {
       return school;
   }

   public void setSchool(String school) {
       this.school = school;
   }

   public String getClassName() {
       return className;
   }

   public void setClassName(String className) {
       this.className = className;
   }

   public String getContact_name() {
       return contact_name;
   }

   public void setContact_name(String contact_name) {
       this.contact_name = contact_name;
   }

   public String getContact_phone() {
       return contact_phone;
   }

   public void setContact_phone(String contact_phone) {
       this.contact_phone = contact_phone;
   }

   public String getEmail() {
       return email;
   }

   public void setEmail(String email) {
       this.email = email;
   }

   public String getRemark() {
       return remark;
   }

   public void setRemark(String remark) {
       this.remark = remark;
   }

   public String getBooking_time() {
       return booking_time;
   }

   public void setBooking_time(String booking_time) {
       this.booking_time = booking_time;
   }

   public String getPer_price() {
       return per_price;
   }

   public void setPer_price(String per_price) {
       this.per_price = per_price;
   }

   public String getFront_money() {
       return front_money;
   }

   public void setFront_money(String front_money) {
       this.front_money = front_money;
   }

   public String getPay_way() {
       return pay_way;
   }

   public void setPay_way(String pay_way) {
       this.pay_way = pay_way;
   }

   public String getPay_time() {
       return pay_time;
   }

   public void setPay_time(String pay_time) {
       this.pay_time = pay_time;
   }

   public String getFlag() {
       return flag;
   }

   public void setFlag(String flag) {
       this.flag = flag;
   }
   
   
   
    
}
